package com.wdb.modules.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wdb.modules.system.domain.User;
import com.wdb.modules.system.domain.vo.UserQueryCriteriaDTO;
import com.wdb.utils.PageResult;
import org.springframework.stereotype.Service;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/1/16 0016 16:15
 */
@Service
public interface UserService extends IService<User> {
  /**
   * 根据用户名查询
   *
   * @param userName /
   * @return /
   */
  User getLoginData(String userName);

  PageResult<User> getAll(UserQueryCriteriaDTO userQueryCriteria, Page page);
}
